package com.example.industrialpipelinemonitoring.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.industrialpipelinemonitoring.bean.User;
import com.example.industrialpipelinemonitoring.dto.UserListDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Dsy
 * @create 2021-11-04  20:43
 */
@Mapper
public interface UserDao extends BaseMapper<User> {

    IPage<UserListDTO> list(IPage page);

    List<UserListDTO> list();
}
